home *** CD-ROM | disk | FTP | other *** search
/ Sprite 1984 - 1993 / Sprite 1984 - 1993.iso / src / lib / tclX6.4c / dist / ucbsrc / RCS / Makefile,v < prev   
Encoding:
Text File  |  1992-12-03  |  1.9 KB  |  81 lines

  1. head     1.1;
  2. branch   ;
  3. access   ;
  4. symbols  ;
  5. locks    jhh:1.1; strict;
  6. comment  @# @;
  7.  
  8.  
  9. 1.1
  10. date     92.12.03.12.18.29;  author jhh;  state Exp;
  11. branches ;
  12. next     ;
  13.  
  14.  
  15. desc
  16. @@
  17.  
  18.  
  19.  
  20. 1.1
  21. log
  22. @Initial revision
  23. @
  24. text
  25. @#
  26. # Makefile --
  27. #
  28. # Makefile for Extended Tcl updates to the standard UCB Tcl.
  29. #------------------------------------------------------------------------------
  30. # Copyright 1992 Karl Lehenbauer and Mark Diekhans.
  31. #
  32. # Permission to use, copy, modify, and distribute this software and its
  33. # documentation for any purpose and without fee is hereby granted, provided
  34. # that the above copyright notice appear in all copies.  Karl Lehenbauer and
  35. # Mark Diekhans make no representations about the suitability of this
  36. # software for any purpose.  It is provided "as is" without express or
  37. # implied warranty.
  38. #------------------------------------------------------------------------------
  39. # $Id: Makefile,v 2.0 1992/10/16 04:51:44 markd Rel $
  40. #------------------------------------------------------------------------------
  41. #
  42.  
  43.  
  44. include ../Config.mk
  45. include ../config/$(TCL_CONFIG_FILE)
  46. SHELL=/bin/sh
  47.  
  48. #------------------------------------------------------------------------------
  49.  
  50. CFLAGS=$(OPTIMIZE_FLAG) $(XCFLAGS) -I../$(TCL_UCB_DIR) $(MEM_DEBUG_FLAGS) \
  51.   $(SYS_DEP_FLAGS)
  52.  
  53. #------------------------------------------------------------------------------
  54.  
  55. OBJS=tclBasic.o tclExpr.o
  56.  
  57. #------------------------------------------------------------------------------
  58.  
  59. all: made.tmp
  60.  
  61. made.tmp: $(OBJS)
  62.     -$(AR) d  ../libtcl.a $(OBJS)
  63.     $(AR)  cr ../libtcl.a $(OBJS)
  64.     touch made.tmp
  65.  
  66. tclBasic.c: ../$(TCL_UCB_DIR)/tclBasic.c
  67.     rm -f tclBasic.c
  68.     sed -f tclBasic.sed <../$(TCL_UCB_DIR)/tclBasic.c >tclBasic.c
  69.  
  70. tclExpr.c: ../$(TCL_UCB_DIR)/tclExpr.c
  71.     rm -f tclExpr.c
  72.     sed -f tclExpr.sed <../$(TCL_UCB_DIR)/tclExpr.c >tclExpr.c
  73.  
  74. #------------------------------------------------------------------------------
  75.  
  76. clean:
  77.     -rm -f made.tmp tclBasic.c tclExpr.c
  78.     -rm -f $(OBJS)
  79. @
  80.